﻿@model BlogCategoryModel

<div class="form-horizontal">
    <vc:admin-widget widget-zone="blog_category_info_top" additional-data="Model" />
    <div class="form-body">
        @(await Html.LocalizedEditor<BlogCategoryModel, BlogCategoryLocalizedModel>("blogcategory-info-localized",
                            @<div class="form-horizontal">
                                <div class="form-body">
                                    <div class="form-group">
                                        <admin-label asp-for="@Model.Locales[item].Name" />
                                        <div class="col-md-9 col-sm-9">
                                            <admin-input asp-for="@Model.Locales[item].Name" />
                                            <span asp-validation-for="@Model.Locales[item].Name"></span>
                                        </div>
                                    </div>
                                    <input type="hidden" asp-for="@Model.Locales[item].LanguageId" />
                                </div>
                            </div>
                            ,
                            @<div class="form-horizontal">
                                <div class="form-body">
                                    <div class="form-group">
                                        <admin-label asp-for="Name" />
                                        <div class="col-md-9 col-sm-9">
                                            <admin-input asp-for="Name" />
                                            <span asp-validation-for="Name"></span>
                                        </div>
                                    </div>
                                </div>
                            </div>
            ))
        <div class="form-group">
            <admin-label asp-for="DisplayOrder" />
            <div class="col-md-9 col-sm-9">
                <admin-input asp-for="DisplayOrder" />
                <span asp-validation-for="DisplayOrder"></span>
            </div>
        </div>
    </div>
    <vc:admin-widget widget-zone="blog_category_info_bottom" additional-data="Model" />
</div>